x86: allow grant table originating ptes to have their guest available
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 Nov 2008 11:46:00 +0000 (11:46 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 Nov 2008 11:46:00 +0000 (11:46 +0000)
commit8ebbe767aa281355990b834b06d9b287e19e01c3
treeea5bd1a1d5899dea0db32f25e89e4cf7bbaac22d
parent4cd8a74f6e9e92a813bedba469975cf4b54892e0
x86: allow grant table originating ptes to have their guest available
bits set.

In order to allow 2.6.27's get_user_pages_fast() to correctly detect
granted pages (so they would be passed to get_user_pages()), it must
be possible to tell the grant table code in Xen to set the three
available bits in the pte-s it creates.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/mm.c
xen/common/kernel.c
xen/include/public/features.h
xen/include/public/grant_table.h